const sequelize = require('../db.js')
const {DataTypes} = require('sequelize')

const User = sequelize.define('user', {
  id: {type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true, allowNull: false},
  email: {type: DataTypes.STRING, unique: true},
  number: {type: DataTypes.INTEGER},
})

module.exports = {
  User,
}
